This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

SUB Local Array Bug

 20th June 2024 at 10:28pm

The following wwwBASIC program ought to result in a "1" being printed, however ...

SUB howdy()
  DIM a$( 1 TO 2 )
  a$(1) = "1"
  a$(2) = "2"
  PRINT "  " + a$(1)
END SUB

CALL howdy()